/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package font;

import javax.microedition.lcdui.Font;

/**
 *
 * @author kevin
 */
public class MyFont {
    private BitmapFont fontNormal;
    private BitmapFont fontBold;
    private BitmapFont fontItalic;
    private BitmapFont fontBoldItalic;
    private BitmapFont fontUnderlined;

    public MyFont() {
        fontNormal = new BitmapFont("/res/font/arial.fnt");
        fontBold = fontNormal.getFont(Font.STYLE_BOLD);
        fontItalic = fontNormal.getFont(Font.STYLE_ITALIC);
        fontBoldItalic = fontNormal.getFont(Font.STYLE_BOLD | Font.STYLE_ITALIC);
        fontUnderlined = fontNormal.getFont(Font.STYLE_UNDERLINED);
    }

    public BitmapFont getFontBold() {
        return fontBold;
    }

    public void setFontBold(BitmapFont fontBold) {
        this.fontBold = fontBold;
    }

    public BitmapFont getFontBoldItalic() {
        return fontBoldItalic;
    }

    public void setFontBoldItalic(BitmapFont fontBoldItalic) {
        this.fontBoldItalic = fontBoldItalic;
    }

    public BitmapFont getFontItalic() {
        return fontItalic;
    }

    public void setFontItalic(BitmapFont fontItalic) {
        this.fontItalic = fontItalic;
    }

    public BitmapFont getFontNormal() {
        return fontNormal;
    }

    public void setFontNormal(BitmapFont fontNormal) {
        this.fontNormal = fontNormal;
    }

    public BitmapFont getFontUnderlined() {
        return fontUnderlined;
    }

    public void setFontUnderlined(BitmapFont fontUnderlined) {
        this.fontUnderlined = fontUnderlined;
    }
}
